/*
 * @Author: 张勇 1179276268@qq.com
 * @Date: 2024-01-04 15:10:45
 * @LastEditors: 张勇 1179276268@qq.com
 * @LastEditTime: 2024-01-04 15:25:02
 * @FilePath: \project-template\vite.config.ts
 * @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
 */
import { fileURLToPath, URL } from 'node:url'

import { defineConfig } from 'vite'
import createVitePlugins from './src/vite/plugins'
export default defineConfig({
  plugins: createVitePlugins(),
  resolve: {
    alias: {
      '@': fileURLToPath(new URL('./src', import.meta.url))
    }
  }
})
